package com.example.zzh.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 仓库表
 * </p>
 *
 * @author zzh
 * @since 2023-08-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ZzhDepot对象", description="仓库表")
public class ZzhDepot implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "仓库名称")
    private String name;

    @ApiModelProperty(value = "仓库地址")
    private String address;

    @ApiModelProperty(value = "类型")
    private Integer type;

    @ApiModelProperty(value = "排序")
    private String sort;

    @ApiModelProperty(value = "描述")
    private String remark;

    @ApiModelProperty(value = "负责人")
    private Long principal;

    @ApiModelProperty(value = "状态，0：删除，1：正常，2封禁")
    private Integer status;


}
